Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump clap from 3.2.25 to 4.4.12 and MSRV from 1.60.0 to 1.70.0 #34

Closed
wants to merge 10 commits into from

Conversation

rustworthy
Copy link
Collaborator

@rustworthy rustworthy commented Nov 30, 2023

Move from clap@3 to clap@4 and set msrv to 1.70


This change is Reviewable

Copy link

codecov bot commented Dec 1, 2023

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (cbe8ff5) 72.5% compared to head (96475d5) 72.1%.

Additional details and impacted files
Files Coverage Δ
src/bin/loadtest.rs 0.0% <0.0%> (ø)

Cargo.toml Outdated Show resolved Hide resolved
@@ -89,7 +89,7 @@ jobs:
# https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
strategy:
matrix:
msrv: [1.57.0]
msrv: [1.70.0]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this large MSRV bump? That's pretty significant (and recent). Is it required by anything we depend on?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is current clap's msrv.

As far as I understand they have been forced to bump it due to anstyle.

image

@rustworthy rustworthy requested a review from jonhoo December 18, 2023 18:32
@jonhoo jonhoo mentioned this pull request Jan 3, 2024
@jonhoo
Copy link
Owner

jonhoo commented Jan 3, 2024

I think many of the changes in this can now go away since the various CI fixes I've landed on main.

As for the clap MSRV bump, that's unfortunate, but I guess we'll take it. After all, people can still install with an older MSRV, they just need an MSRV-aware resolve.

@rustworthy rustworthy changed the title Update dependencies Bump clap from 3.2.25 to 4.4.12 and MSRV from 1.60.0 to 1.70.0 Jan 3, 2024
@jonhoo jonhoo closed this in 2c728b1 Jan 3, 2024
@jonhoo
Copy link
Owner

jonhoo commented Jan 3, 2024

I wanted to adjust the clap code slightly, so ended up committing this directly in 2c728b1 so we didn't need to go back and forth another time :)

@jonhoo
Copy link
Owner

jonhoo commented Jan 3, 2024

Released in 0.12.2 🎉

@rustworthy rustworthy deleted the chore/update-deps branch January 4, 2024 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants